package  
{
	/**
	 * 模块间消息定义常量news
	 * @author WLDragon
	 */
	public class Nws 
	{
		//-------------------------------------------启动模块
		/**预加载模块*/
		static public const STARTUP_PRELOAD:String = "preload.PreLoadC";
		/**启动开始模块*/
		static public const STARTUP_BEGIN:String = "begin.BeginC";
		/**启动武将信息模块，或关闭信息面板*/
		static public const STARTUP_GENERAL:String = "general.GeneralC";
		/**启动对话框模块*/
		//static public const STARTUP_DIALOGUE:String = "dialogue.DialogueC";
		/**启动策略场景模块*/
		static public const STARTUP_STRATEGY:String = "strategy.StrategyC";
		/**启动游戏信息模块*/
		static public const STARTUP_INFOMATION:String = "infomation.InfomationC";
		/**启动菜单模块*/
		static public const STARTUP_MENU:String = "menu.MenuC";
		/**启动选择参数菜单模块*/
		static public const STARTUP_CHOOSE:String = "choose.ChooseC";
		/**启动事件报告模块*/
		static public const STARTUP_REPORT:String = "report.ReportC";
		/**启动行军场景模块*/
		static public const STARTUP_MARCH:String = "march.MarchC";
		/**启动短兵相接（交战）模块*/
		static public const STARTUP_FIGHT:String = "fight.FightC";
		/**启动单挑模块*/
		static public const STARTUP_SOLO:String = "solo.SoloC";
		/**启动核心算法模块*/
		static public const STARTUP_CORE:String = "core.CoreC";
		
		//---------------------------------------------模块通讯消息
		/**读取进度*/
		static public const BEGIN_LOAD_GAME:String = "begin_load_game";
		/**选择难度1-容易2-中等3-困难*/
		static public const BEGIN_CHOOSE_LEVEL:String = "begin_choose_level";
		/**选择君主*/
		static public const BEGIN_CHOOSE_MONARCH:String = "begin_choose_monarch";
		
		/**打开或关闭交通地图*/
		static public const STRATEGY_SWITCH_MAP:String = "strategy_switch_map";
		/**激活城池,广播城池ID,参数id*/
		static public const STRATEGY_ACTIVE_CASTLE:String = "strategy_active_castle";
		/**取消激活城池*/
		static public const STRATEGY_UNACTIVE_CASTLE:String = "strategy_unactive_castle";
		/**请求选择城池,参数type,[castleId...] type:1-选择进行活动的城池 2-选择提供参数的城池 3-选择城池侦察*/
		static public const STRATEGY_REQUEST_CASTLE:String = "strategy_response_castle";
		/**更新城池,城池ID,玩家ID*/
		static public const STRATEGY_UPDATE_CASTLE:String = "strategy_update_castle";
		/**响应选择城池,参数id*/
		//static public const STRATEGY_RESPONSE_CASTLE:String = "strategy_response_castle";
		
		/**打开武将信息,参数为存放武将VO的数组[GeneralVO...],Cnt.MODE_* */
		static public const GENERAL_OPEN:String = "general_open";
		/**武将提供消息,参数gid1,gid2=0*/
		static public const GENERAL_SHOW_HEAD:String = "general_show_head";
		
		/**显示菜单,参数type*/
		static public const MENU_SHOW:String = "menu_show";
		/**隐藏无关内容*/
		static public const MENU_SHOW_OR_HIDE:String = "menu_show_or_hide";
		/**验证参数*/
		static public const MENU_VERIFY_PARAM:String = "menu_verify_param";
		
		/**直接打开对话消息,参数text,size=12,x=125,y=320*/
		static public const DIALOGUE_SHOW_DIRECT:String = "dialogue_show_direct";
		/**交互式打开对话消息,参数text,callBack*/
		static public const DIALOGUE_SHOW_INTERACTIVE:String = "dialogue_show_interactive";
		/**确认是否消耗1军令*/
		static public const DIALOGUE_ENQUIRE_EXECUTE:String = "dialogue_enquire_execute";
		/**确认结果1-确定，0取消*/
		static public const DIALOGUE_ENQUIRE_RESULT:String = "dialogue_enquire_result";
		
		/**切换城池信息,参数01234,0为关闭*/
		static public const INFOMATION_SWITCH_CITY:String = "infomation_city_info";
		/**更新城池信息,castleId*/
		static public const INFOMATION_UPDATE_CITY:String = "infomation_update_city";
		/**更新年月信息，type:1更新，2：显示，3隐藏*/
		static public const INFOMATION_UPDATE_TIME:String = "infomation_update_time";
		/**更新军令数量，type:1更新，2：显示，3隐藏*/
		static public const INFOMATION_UPDATE_ORDER:String = "infomation_update_order";
		/**更新机动等信息，date(==0隐藏),gold,rice,step*/
		static public const INFOMATION_UPDATE_ACTION:String = "infomation_update_action";
		
		/**播放事件动画,id,callBack*/
		static public const REPORT_PLAY_INCIDENT:String = "report_play_incident";
		/**播放计谋事件动画,url,generalVO,callBack*/
		static public const REPORT_PLOT_CASE:String = "report_plot_case";
		
		/**询问玩家操作哪座城池*/
		static public const CORE_ASK:String = "core_ask";
		/**询问找到武将后是否用金收为部下*/
		static public const CORE_ADD_GENERAL:String = "core_add_general";
		/**征兵*/
		static public const CORE_CONSCRIPTION:String = "core_conscription";
		
		/**退出到询问选择哪个武将*/
		static public const MARCH_TO_SELECT_ARMY:String = "march_to_select_army";
		/**选择撤退的地方*/
		static public const MARCH_TO_RETREAT:String = "march_to_retreat";
		
		/**选择阵型,type*/
		static public const FIGHT_SELECT_FORMATION:String = "fight_select_formation";
		/**短兵相接交战结束*/
		static public const FIGHT_OVER:String = "fight_over";
		
		//----------------------- order begin 与menu.xml对应---------------------//
		/**发展农业*/
		static public const ST_DEVELOP_AGRICULTURE:String = "201";
		/**发展商业*/
		static public const ST_DEVELOP_BUSINESS:String = "202";
		/**发展人口*/
		static public const ST_DEVELOP_POPULATION:String = "203";
		/**收集情报*/
		static public const ST_GATHER_INTELLIGENCE:String = "102";
		/**同盟*/
		static public const ST_ALLIANCE:String = "301";
		/**拉拢*/
		static public const ST_ROPE:String = "303";
		/**离间*/
		static public const ST_ALIENATE:String = "302";
		/**调动*/
		static public const ST_MUSTER:String = "101";
		/**防灾*/
		static public const ST_DISASTER_PREVENTION:String = "103";
		/**出征*/
		static public const ST_EXPEDITION:String = "401";
		/**征兵*/
		static public const ST_CONSCRIPTION:String = "402";
		/**任命太守*/
		static public const ST_APPOINT:String = "404";
		/**运输*/
		static public const ST_TRANSPORT:String = "501";
		/**赏赐武将金*/
		static public const ST_AWARD_GOLD:String = "1401";
		/**赏赐武将宝*/
		static public const ST_AWARD_TREASURE:String = "1402";
		/**慰问群众*/
		static public const ST_CONDOLENCES:String = "601";
		/**购买装备*/
		static public const ST_BUY_EQUIPMENT:String = "5301";
		/**医疗*/
		static public const ST_HEAL:String = "5303";
		/**买米*/
		static public const ST_BUY_RICE:String = "1201";
		/**卖米*/
		static public const ST_SELL_RICE:String = "1202";
		/**当宝*/
		static public const ST_PAWN_TREASURES:String = "1101";
		/**读书*/
		static public const ST_STUDY:String = "5302";
		/**保存*/
		static public const ST_SAVE:String = "104";
		/**侦察*/
		static public const ST_RECONNOITER:String = "403";
		
		/**攻击*/
		static public const MA_ATTACK:String = "702";
		/**移动*/
		static public const MA_MOVE:String = "701";
		/**计谋*/
		static public const MA_USE_PLOT:String = "703";
		/**扎营*/
		static public const MA_ENCAMP:String = "704";
		/**撤退*/
		static public const MA_RETREAT:String = "705";
		
		/**选择阵型*/
		//static public const FI_CHOOSE_FORMATION:String = "";
		/**选择作战方式*/
		//static public const FI_CHOOSE_ACTION:String = "";
		
		/**挑逗，轻击*/
		static public const SO_HIT:String = "801";
		/**攻击，重击*/
		static public const SO_THUMP:String = "803";
		/**暴击*/
		static public const SO_CRIT:String = "806";
		/**说服*/
		static public const SO_CONVINCE:String = "901";
		/**恫吓*/
		static public const SO_THREATEN:String = "902";
		/**逃跑*/
		static public const SO_FLEE:String = "802";
		/**投降*/
		static public const SO_CAPITULATE:String = "804";
		/**互报身份*/
		static public const SO_IDENTIFY:String = "805";
		//----------------------- order end ---------------------//
		
	}

}